Fix R2L paragraph display on TTY.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Apr 2010 13:08:35 +0000 (16:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Apr 2010 13:08:35 +0000 (16:08 +0300)
commit0a58effd1961e71c4c3ec1b01ccfbd2ccea687f3
treebd5548154e3eca10e7d8482f54cb7a36449ae4ff
parent037d2e770d0d194ba2a1e7e1539ee04d1514f058
Fix R2L paragraph display on TTY.

 xdisp.c (unproduce_glyphs): New function.
 (display_line): Use it when produced glyphs are discarded from R2L
 glyph rows.
 (append_composite_glyph): In R2L rows, prepend the glyph rather
 than appending it.
 term.c (append_composite_glyph): In R2L rows, prepend the glyph
 rather than append it.  Set up the resolved_level and bidi_type
 attributes of the appended glyph.
src/ChangeLog
src/term.c
src/xdisp.c